<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
	</head>
	<body>
		<div id="app">
			<label for="protocol">
				<input
					type="checkbox"
					id="protocol"
					v-model="isAgree"
				/>同意协议
			</label>
			<h2>您的选择是：{{isAgree}}</h2>
			<button :disabled="!isAgree">提交</button>
		</div>

		<script src="../lib/vue.js"></script>
		<script>
			let vm = new Vue({
				el: "#app",
				data: { message: "hello", isAgree: false },
				methods: {}
			});
		</script>
	</body>
</html>
